
<style media="print">
.menu {
	display: none;
}
.page-tab-content{padding-left:2px;}
.pb50{padding-bottom:0px;}
</style>

<div class="menu">
    <input type="button" value="打 印" onClick="window.print()" /><br>
    <br>
</div>


<?php
foreach ($list as $k=>$v){
$toppadding=$k==0 ? '0px' :'70px';
?>
    <div class="pageContent" style="width:150px;padding-bottom:12px;padding-top:{$toppadding}">
    <table width="100%" border="0">
        <tr>
            <td style="font-size:14px; height: 30px;" align="center"><strong>米莫服饰外发订单</strong></td>
        </tr>
        <tr>
        <td style="line-height:19px;">
        <div style="height:130px;overflow:hidden;">
            <span>订单号：{$v['client_ordernum']}</span><br>
            工厂：{$v['factory_name']}<br>
            {if($v['type']==0) /}
                <strong>分组：{$v['group_name']}</strong><br>
            {else}
                <strong>外发工厂:{$v['group_name']}</strong><br>
                电话：{$v['mobile']}<br>
                地址：{$v['address']}
            {/if}
          </div><div style="height:80px;overflow:hidden;">
          <table width="100%" border="0">
            <tr>
              <td valign="middle">{$v['cut_packages_remark']}<br>
              {$v['num_0']}/{$v['num_1']}包
              </td>
              <td><img src="{$v['qrcode']}" width="80"></td>
            </tr>
          </table></div></td>
      </tr>
    </table>
    
    </div>
 <?php }?>